\ifpackageavailable{glossaries}{}{
  \fetchpackage{glossaries}
}

\usepackage[acronym]{glossaries}
\makeglossary
\input{glossary.tex}
\input{acronyms.tex}

